home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nature Graphics
/
Nature Graphics - Volume 1.iso
/
go.bat
Wrap
DOS Batch File
|
1993-11-19
|
2KB
|
57 lines
@echo off
:begin
if exist c:\gif\img9092.gif set cdrom=c:
if exist d:\gif\img9092.gif set cdrom=d:
if exist e:\gif\img9092.gif set cdrom=e:
if exist f:\gif\img9092.gif set cdrom=f:
if exist g:\gif\img9092.gif set cdrom=g:
if exist h:\gif\img9092.gif set cdrom=h:
if exist i:\gif\img9092.gif set cdrom=i:
if exist j:\gif\img9092.gif set cdrom=j:
if exist k:\gif\img9092.gif set cdrom=k:
if exist l:\gif\img9092.gif set cdrom=l:
if exist m:\gif\img9092.gif set cdrom=m:
if exist n:\gif\img9092.gif set cdrom=n:
if exist o:\gif\img9092.gif set cdrom=o:
if exist p:\gif\img9092.gif set cdrom=p:
if exist q:\gif\img9092.gif set cdrom=q:
if exist r:\gif\img9092.gif set cdrom=r:
if exist s:\gif\img9092.gif set cdrom=s:
if exist t:\gif\img9092.gif set cdrom=t:
if exist u:\gif\img9092.gif set cdrom=u:
if exist v:\gif\img9092.gif set cdrom=v:
if exist w:\gif\img9092.gif set cdrom=w:
if exist x:\gif\img9092.gif set cdrom=x:
if exist y:\gif\img9092.gif set cdrom=y:
if exist z:\gif\img9092.gif set cdrom=z:
if "%1"=="GIF" goto gifview
if "%1"=="gif" goto gifview
if "%1"=="" goto gifview
if "%1"=="TGA" goto tgaview
if "%1"=="tga" goto tgaview
goto help
:gifview
%cdrom%
\svga\svga.exe /ad /p \gif
goto end
:tgaview
%cdrom%
\svga\svga.exe /ad /p \tga
goto end
:help
echo.
echo -----------------------
echo Syntax : GO [GIF] [TGA]
echo Example: GO GIF
echo -----------------------
echo.
goto end
:end
set cdrom=